package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 测试权限管理的供应商及工厂数据筛选对象 jac_testforsystem
 *
 * @author ygx
 * @date 2020-06-17
 */
public class JacTestforsystem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long testId;

    /** 工厂code */
    @Excel(name = "工厂code")
    private String factoryCode;

    /** 供应商code */
    @Excel(name = "供应商code")
    private Long supplierId;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 工厂名称 */
    @Excel(name = "工厂名称")
    private String factoryName;

    public void setTestId(Long testId)
    {
        this.testId = testId;
    }

    public Long getTestId()
    {
        return testId;
    }
    public void setFactoryCode(String factoryCode)
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode()
    {
        return factoryCode;
    }
    public void setSupplierCode(Long supplierId)
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierCode()
    {
        return supplierId;
    }
    public void setSupplierName(String supplierName)
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName()
    {
        return supplierName;
    }
    public void setFactoryName(String factoryName)
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName()
    {
        return factoryName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("testId", getTestId())
            .append("factoryCode", getFactoryCode())
            .append("supplierId", getSupplierCode())
            .append("supplierName", getSupplierName())
            .append("factoryName", getFactoryName())
            .toString();
    }
}
